Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 4 - Dialog Manager Reference / Dialog Manager Resources


The Dialog Resource

CHANGED WITH THE APPEARANCE MANAGER

A dialog resource is a resource of type 'DLOG'. All dialog resources can be marked purgeable, and they must have resource ID numbers greater than 127.

You can use an extended dialog resource with the same resource ID as your dialog resource to provide additional features for your dialog box, including movable modal behavior, Appearance-compliant backgrounds and controls, and embedding hierarchies. To specify the items in an dialog box, you must provide an item list resource. Use the GetNewDialog function to create the dialog box defined in the dialog resource and extended dialog resource.

Figure 4-1 shows the format of a compiled dialog resource.

Figure 4-1 Structure of a compiled dialog ('DLOG') resource

The compiled version of a dialog resource contains the following elements:


Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998